<template>
  <div class="mod-pic">
    <div class="hd">相关图片</div>
    <div class="bd">
      <div class="pic-list">
        <template v-for="(item, i) in data">
          <div :key="i" class="item"><img :src="item" alt="" /></div>
        </template>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: {
    data: {
      type: Array,
      required: true
    }
  }
};
</script>

<style scoped></style>
